
import { ISysPersonProfessionalTitleType } from '/@/views/person/syspersonprofessionaltitletype/api/interface';
import { IFileAttachment } from '/@/views/fileattachment/api/interface';
import { ISysPerson } from '/@/views/person/sysperson/api/interface';

export interface ISysPersonProfessionalTitle {
	ID?: string | null;
	PersonId: null;
	Person?: ISysPerson;
	ProfessionalTitleTypeId: null;
	ProfessionalTitleType?: ISysPersonProfessionalTitleType;
	QualificationName: string | null;
	QualificationLevel?:
		| '高级'
		| '中级'
		| '初级'
		| '国家级'
		| '省级'
		| '市级'
		| '区县级'
		| '正高级'
		| '副高级'
		| '助理级'
		| '员级'
		| '特级'
		| '一级'
		| '二级'
		| '三级'
		| '四级'
		| '五级'
		| '其他'
		| null;
	IssuingAuthority: string | null;
	CertificateCode: string | null;
	ObtainedDate: Date | null;
	ExpiryDate: Date | null;
	SalaryReward: string | null;
	CertificateDocumentId: null;
	CertificateDocument?: IFileAttachment;
	Remark: string | null;
}

export interface ISysPersonProfessionalTitleVm {
	Entity: ISysPersonProfessionalTitle;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;
}

export interface ISysPersonProfessionalTitleView extends ISysPersonProfessionalTitle {}

export interface ISysPersonProfessionalTitleQuery {
	PersonId?: string | null;
	ProfessionalTitleTypeId?: string | null;
	QualificationName?: string | null;
	QualificationLevel?: number | null;
	IssuingAuthority?: string | null;
	CertificateCode?: string | null;
	ObtainedDate?: Date | null;
	ExpiryDate?: Date | null;
	SalaryReward?: string | null;
	Remark?: string | null;
}
